package com.wjx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName accounts
 */
@TableName(value ="accounts")
public class Accounts implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer accountid;

    /**
     * 
     */
    private Integer customerid;

    /**
     * 
     */
    private String accounttype;

    /**
     * 
     */
    private Date openingdate;

    /**
     * 
     */
    private BigDecimal balance;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getAccountid() {
        return accountid;
    }

    /**
     * 
     */
    public void setAccountid(Integer accountid) {
        this.accountid = accountid;
    }

    /**
     * 
     */
    public Integer getCustomerid() {
        return customerid;
    }

    /**
     * 
     */
    public void setCustomerid(Integer customerid) {
        this.customerid = customerid;
    }

    /**
     * 
     */
    public String getAccounttype() {
        return accounttype;
    }

    /**
     * 
     */
    public void setAccounttype(String accounttype) {
        this.accounttype = accounttype;
    }

    /**
     * 
     */
    public Date getOpeningdate() {
        return openingdate;
    }

    /**
     * 
     */
    public void setOpeningdate(Date openingdate) {
        this.openingdate = openingdate;
    }

    /**
     * 
     */
    public BigDecimal getBalance() {
        return balance;
    }

    /**
     * 
     */
    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }
}